<include file="application/walletyhbbadmin/view/public/left.html"/>
<div id="dcMain">
    <!-- 当前位置 -->

    <div id="urHere">管理中心<b>></b><strong>关于我们</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">

    <div id="list">
        <h3>企业文化</h3><br/>
        <div class="actionBtn" style="padding-left: 100px;">
            <form action="{:U('editculture')}" method="post" enctype="multipart/form-data">
                <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                    <input type="hidden" name="id" value="{$jieshao.w_id}">
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司宗旨(中)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="zongzhi" name="zongzhi" value="{$jieshao.w_zongzhi}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司宗旨(英)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="uzongzhi" name="uzongzhi" value="{$arr.w_zongzhi}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司宗旨(日)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="jzongzhi" name="jzongzhi" value="{$list.w_zongzhi}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司理念(中)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="linian" name="linian" value="{$jieshao.w_linian}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司理念(英)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="ulinian" name="ulinian" value="{$arr.w_linian}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司理念(日)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="jlinian" name="jlinian" value="{$list.w_linian}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司使命(中)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="shiming" name="shiming" value="{$jieshao.w_shiming}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司使命(英)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="ushiming" name="ushiming" value="{$arr.w_shiming}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司使命(日)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="jshiming" name="jshiming" value="{$list.w_shiming}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司战略(中)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="zhanlue" name="zhanlue" value="{$jieshao.w_zhanlue}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司战略(英)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="uzhanlue" name="uzhanlue" value="{$arr.w_zhanlue}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">公司战略(日)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="jzhanlue" name="jzhanlue" value="{$list.w_zhanlue}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">发展愿景(中)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="yuanjing" name="yuanjing" value="{$jieshao.w_yuanjing}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">发展愿景(英)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="uyuanjing" name="uyuanjing" value="{$arr.w_yuanjing}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">发展愿景(日)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="jyuanjing" name="jyuanjing" value="{$list.w_yuanjing}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">核心能力(中)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="nengli" name="nengli" value="{$jieshao.w_nengli}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">核心能力(英)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="unengli" name="unengli" value="{$arr.w_nengli}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
<!--                    <tr>-->
<!--                        <td width="110" align="right">核心能力(日)：</td>-->
<!--                        <td>-->
<!--                            <input type="text" id="jnengli" name="jnengli" value="{$list.w_nengli}" size="80" class="inpMain" />-->
<!--                        </td>-->
<!--                    </tr>-->
                    <tr>
                        <td align="right" valign="top">企业文化(中)：</td>
                        <td>
                            <!-- KindEditor -->
                            <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/themes/default/default.css" />
                            <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.css" />
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/kindeditor.js"></script>
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/lang/zh_CN.js"></script>
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.js"></script>
                            <script>
                                KindEditor.ready(function(K) {
                                    var editor1 = K.create('textarea[name="wenhua"]', {
                                        cssPath : '../plugins/code/prettify.css',
                                        uploadJson : '../php/upload_json.php',
                                        fileManagerJson : '../php/file_manager_json.php',
                                        allowFileManager : true,
                                        afterCreate : function() {
                                            var self = this;
                                            K.ctrl(document, 13, function() {
                                                self.sync();
                                                K('form[name=example]')[0].submit();
                                            });
                                            K.ctrl(self.edit.doc, 13, function() {
                                                self.sync();
                                                K('form[name=example]')[0].submit();
                                            });
                                        }
                                    });
                                    prettyPrint();
                                });
                            </script>
                            <!-- /KindEditor -->
                            <textarea id="wenhua" name="wenhua" style="width:780px;height:400px;" class="textArea">{$jieshao.w_wenhua}</textarea>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" valign="top">企业文化(英)：</td>
                        <td>
                            <!-- KindEditor -->
                            <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/themes/default/default.css" />
                            <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.css" />
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/kindeditor.js"></script>
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/lang/zh_CN.js"></script>
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.js"></script>
                            <script>
                                KindEditor.ready(function(K) {
                                    var editor1 = K.create('textarea[name="uwenhua"]', {
                                        cssPath : '../plugins/code/prettify.css',
                                        uploadJson : '../php/upload_json.php',
                                        fileManagerJson : '../php/file_manager_json.php',
                                        allowFileManager : true,
                                        afterCreate : function() {
                                            var self = this;
                                            K.ctrl(document, 13, function() {
                                                self.sync();
                                                K('form[name=example]')[0].submit();
                                            });
                                            K.ctrl(self.edit.doc, 13, function() {
                                                self.sync();
                                                K('form[name=example]')[0].submit();
                                            });
                                        }
                                    });
                                    prettyPrint();
                                });
                            </script>
                            <!-- /KindEditor -->
                            <textarea id="uwenhua" name="uwenhua" style="width:780px;height:400px;" class="textArea">{$arr.w_wenhua}</textarea>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" valign="top">企业文化(日)：</td>
                        <td>
                            <!-- KindEditor -->
                            <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/themes/default/default.css" />
                            <link rel="stylesheet" href="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.css" />
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/kindeditor.js"></script>
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/lang/zh_CN.js"></script>
                            <script charset="utf-8" src="__PUBLIC__/app/admin/js/kindeditor/plugins/code/prettify.js"></script>
                            <script>
                                KindEditor.ready(function(K) {
                                    var editor1 = K.create('textarea[name="jwenhua"]', {
                                        cssPath : '../plugins/code/prettify.css',
                                        uploadJson : '../php/upload_json.php',
                                        fileManagerJson : '../php/file_manager_json.php',
                                        allowFileManager : true,
                                        afterCreate : function() {
                                            var self = this;
                                            K.ctrl(document, 13, function() {
                                                self.sync();
                                                K('form[name=example]')[0].submit();
                                            });
                                            K.ctrl(self.edit.doc, 13, function() {
                                                self.sync();
                                                K('form[name=example]')[0].submit();
                                            });
                                        }
                                    });
                                    prettyPrint();
                                });
                            </script>
                            <!-- /KindEditor -->
                            <textarea id="jwenhua" name="jwenhua" style="width:780px;height:400px;" class="textArea">{$list.w_wenhua}</textarea>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <input name="submit" class="btn" type="submit" value="提交" />
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>

</div>
</div>
<div class="clear"></div>
<include file="application/walletyhbbadmin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
<script type="text/javascript">

    onload = function()
    {
        document.forms['action'].reset();
    }

    function douAction()
    {
        var frm = document.forms['action'];
        frm.elements['new_cat_id'].style.display = frm.elements['action'].value == 'category_move' ? '' : 'none';
    }




    //实名认证
    function authentication(id){
        layer.open({
            type: 2,
            title: '实名认证',
            maxmin: true,
            shadeClose: true,
            area : ['800px' , '850px'],
            content: '{:U("Member/authentication")}?member_id='+id
        });
    }





    //添加地址
    function addaddress(id){
        layer.open({
            type: 2,
            title: '添加地址',
            maxmin: true,
            shadeClose: true,
            area : ['800px' , '850px'],
            content: '{:U("Member/addaddress")}?member_id='+id
        });
    }




    function shanchu(id) {
        var url = "{:U('Member/delete')}";
        var msg = "您确定要删除吗？";
        if (confirm(msg)==true){
            $.post(url, {'member_id': id}, function (data) {
                layer.msg(data.info);
                if (data.status == 1) {
                    setTimeout(function () {
                        window.location.reload();
                    }, 2000);
                }
            });
        }
    }

    //注册审核通过
    function audit_y(id) {
        var url = "{:U('Member/audit_y')}";
        $.post(url, {id: id}, function (data) {
            layer.msg(data.info);
            if (data.status == 1) {
                setTimeout(function () {
                    window.location.reload();
                }, 2000);
            }
        })
    }
    function shanchu(id){
        var url="{:U('Member/delete')}";
        var msg = "您确定要删除吗？";
        if (confirm(msg)==true) {
            $.post(url, {'member_id': id}, function (data) {
                layer.msg(data.info);
                if (data.status == 1) {
                    setTimeout(function () {
                        window.location.reload();
                    }, 2000);
                }
            });
        }
    }

    //查看代理申请信息
    function getDistributInfo(user_id){
        layer.open({
            type: 2,
            title: '代理申请信息',
            maxmin: true,
            shadeClose: true,
            area : ['800px' , '850px'],
            content: '{:U("Member/getDistributInfo")}?user_id='+user_id
        });
    }


</script>
</body>
</html>
